import axios from '@/libs/api.request'
export const getDepartment = (data={}) => {
    return axios.request({
        url:'/dept/list',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}
export const getPlanHeader = (data={}) =>{
    return axios.request({
        url:'/skill/list',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}
export const getPlanResource = (data={}) => {
    return axios.request({
        url:'/human/plan/list',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}
export const updatePlanResource = (data={}) => {
    return axios.request({
        url:'/human/plan/update',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}
export const getCheckResource = (data={}) => {
    return axios.request({
        url:'/human/resource/list',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}
export const updateCheckResource = (data={}) => {
    return axios.request({
        url:'/human/resource/update',
        data,
        headers: {
        'Content-Type': 'application/json;charset=utf-8'
        },
        method: 'post'
    })
}